<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
    String path = request.getContextPath();
			String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":" + request.getServerPort()
					+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>User Information</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link rel="icon" href="<%=basePath%>favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="<%=basePath%>favicon.ico" type="image/x-icon" />

<link rel="stylesheet" type="text/css" href="<%=basePath%>css/form.css">
<script type="text/javascript" src="<%=basePath%>js/jquery-1.7.1.min.js" />
<script type="text/javascript" src="<%=basePath%>js/jquery.tools.min.js" />
<script type="text/javascript">
	$("#userAddForm :input").tooltip({

		// place tooltip on the right edge
		position : "center right",

		// a little tweaking of the position
		offset : [ -2, 10 ],

		// use the built-in fadeIn/fadeOut effect
		effect : "fade",

		// custom opacity setting
		opacity : 0.7

	});
</script>
</head>

<body>
	<label>add user</label>
	<br>
	<form id="userAddForm" action="user/addUser.action" method="post">

		<table>
			<tr>
				<td>userID:</td>
				<td><input id="userID" name="user.userID" title="登陆ID" /></td>
			</tr>
			<tr>
				<td>name:</td>
				<td><input id="name" name="user.name" title="用户名" /></td>
			</tr>
			<tr>
				<td>age:</td>
				<td><input id="age" name="user.age" title="年龄" /></td>
			</tr>
			<tr>
				<td>gender:</td>
				<td><input id="gender" name="user.gender" title="性别" /></td>
			</tr>
			<tr>
				<td>password:</td>
				<td><input id="password" name="user.password" title="password" /></td>

			</tr>
			<tr>
				<td>level:</td>
				<td><input id="level" name="user.level" title="等级" /></td>
			</tr>
			<tr>
				<td>PermissionFlag:</td>
				<td><input id="PermissionFlag" name="user.permissionFlag"
					title="权限" /></td>
			</tr>
			<tr>
				<td>infoPwd:</td>
				<td><input id="infoPwd" name="user.infoPwd" title="信息安全码" /></td>

			</tr>
			<tr>
				<td>tradePwd:</td>
				<td><input id="tradePwd" name="user.tradPwd" title="交易密码" /></td>

			</tr>
			<tr>
				<td>verifyinfo:</td>
				<td><input id="verifyInfo" name="user.verifyInfo" title="验证信息码" /></td>
			</tr>
		</table>
		<button type="submit">submit</button>
	</form>
</body>
</html>
